
import java.util.*;public class practice2
{
	public static void main(String[] argc)
	{
		System.out.println("输入求因数的数字");
		Scanner in=new Scanner(System.in);
		int a=in.nextInt();
		System.out.print(a+"=");
		for(int i=2;i<=a;i++)
		{
			if(a%i==0){
				a=a/i;
			System.out.print(i+"*");}
		}System.out.println(1);
	}
}
